package com.ieds.core.mapper;

import com.ieds.core.model.KDatabaseMonitor;
import org.beetl.sql.core.annotatoin.SqlStatement;
import org.beetl.sql.core.mapper.BaseMapper;

import java.util.List;

/**
 * @Auther: wanglei
 * @Date: 2020.05.25
 * @Description: com.ieds.core.mapper
 * @version: 1.0
 */
public interface KDatabaseMonitorDao extends BaseMapper<KDatabaseMonitor> {

    @SqlStatement(params = "kDatabaseMonitor,start,size")
    List<KDatabaseMonitor> pageQuery(KDatabaseMonitor kDatabaseMonitor, Integer start, Integer size);

    @SqlStatement(params = "kDatabaseMonitor")
    Long allCount(KDatabaseMonitor kDatabaseMonitor);

    List<KDatabaseMonitor> getAllDatabaseMonitor();

}
